package skins
{
	import flash.display.Graphics;
	
	import mx.skins.ProgrammaticSkin;

	public class ColorSkin extends ProgrammaticSkin
	{
		public function ColorSkin()
		{
			super();
		}
		
		protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
			var g:Graphics = graphics;
			g.clear();
			g.beginFill(getStyle("backgroundColor"));
			g.drawRect(0,0,unscaledWidth,unscaledHeight);
			g.endFill();
		}
	}
}